Optimal. Leaf size=97 \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{48 a c^2 f (c-c \sin (e+f x))^{7/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{8 a c f (c-c \sin (e+f x))^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.44, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.079, Rules used = {2841, 2743, 2742} \[ \frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{48 a c^2 f (c-c \sin (e+f x))^{7/2}}+\frac {\cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{8 a c f (c-c \sin (e+f x))^{9/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2742
Rule 2743
Rule 2841
Rubi steps
\begin {align*} \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^{3/2}}{(c-c \sin (e+f x))^{11/2}} \, dx &=\frac {\int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{9/2}} \, dx}{a c}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{8 a c f (c-c \sin (e+f x))^{9/2}}+\frac {\int \frac {(a+a \sin (e+f x))^{5/2}}{(c-c \sin (e+f x))^{7/2}} \, dx}{8 a c^2}\\ &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{8 a c f (c-c \sin (e+f x))^{9/2}}+\frac {\cos (e+f x) (a+a \sin (e+f x))^{5/2}}{48 a c^2 f (c-c \sin (e+f x))^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.95, size = 118, normalized size = 1.22 \[ -\frac {a \sqrt {a (\sin (e+f x)+1)} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^3 (4 \sin (e+f x)-3 \cos (2 (e+f x))+5)}{12 c^5 f (\sin (e+f x)-1)^5 \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 127, normalized size = 1.31 \[ -\frac {{\left (3 \, a \cos \left (f x + e\right )^{2} - 2 \, a \sin \left (f x + e\right ) - 4 \, a\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c}}{6 \, {\left (c^{6} f \cos \left (f x + e\right )^{5} - 8 \, c^{6} f \cos \left (f x + e\right )^{3} + 8 \, c^{6} f \cos \left (f x + e\right ) + 4 \, {\left (c^{6} f \cos \left (f x + e\right )^{3} - 2 \, c^{6} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.38, size = 152, normalized size = 1.57 \[ \frac {\left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-4 \left (\cos ^{2}\left (f x +e \right )\right )-4 \sin \left (f x +e \right )+10\right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {3}{2}} \sin \left (f x +e \right ) \left (\sin \left (f x +e \right ) \cos \left (f x +e \right )-\left (\cos ^{2}\left (f x +e \right )\right )-2 \sin \left (f x +e \right )-\cos \left (f x +e \right )+2\right )}{6 f \left (\cos ^{2}\left (f x +e \right )+\sin \left (f x +e \right ) \cos \left (f x +e \right )+\cos \left (f x +e \right )-2 \sin \left (f x +e \right )-2\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {11}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {3}{2}} \cos \left (f x + e\right )^{2}}{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {11}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 13.87, size = 236, normalized size = 2.43 \[ \frac {\sqrt {c-c\,\sin \left (e+f\,x\right )}\,\left (\frac {40\,a\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{3\,c^6\,f}-\frac {8\,a\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\cos \left (2\,e+2\,f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{c^6\,f}+\frac {32\,a\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\sin \left (e+f\,x\right )\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{3\,c^6\,f}\right )}{84\,\cos \left (e+f\,x\right )\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}-54\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\cos \left (3\,e+3\,f\,x\right )+2\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\cos \left (5\,e+5\,f\,x\right )-96\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\sin \left (2\,e+2\,f\,x\right )+16\,{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}\,\sin \left (4\,e+4\,f\,x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________